package com.guanghua.brick.security.extend;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SecurityFunction {
	//获取function
	String function() default "";
	//多个function or 关系
	String[] orFunctions() default {};
	//多个function or 关系
	String[] andFunctions() default {};
}
